<template>
  <view>{{JSON.stringify(rateConfig)}}</view>
</template>
<script>
import {
  mapState,
  mapActions,
  mapMutations
} from "vuex"
export default {
  data() {
    return {
      rateConfig: {}
    }
  },
  computed: mapState({}),
  async onLoad() {
    this.getConfig();
  },
  methods: {
    ...mapActions(['getUserInfo']),
    ...mapMutations(['updateUserItem', 'updateServiceItem', 'updateTechnicianItem', 'updateOrderItem']),
    async getConfig() {
      let data = await this.$api.user.getRateInfo2();
      this.rateConfig = data;

    }
  }
}
</script>
